var active;
var downicon = '<svg t="1625907864078" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3241" width="20" height="20"><path d="M947.2 310.7c0 4.1-1.6 8.2-4.7 11.3L551.6 712.9c-21.8 21.8-57.4 21.8-79.2 0L81.5 322c-6.2-6.2-6.2-16.4 0-22.6 6.2-6.2 16.4-6.2 22.6 0L495 690.3c9.4 9.4 24.6 9.4 33.9 0l390.9-390.9c6.2-6.2 16.4-6.2 22.6 0 3.2 3.1 4.8 7.2 4.8 11.3z" p-id="3242" fill="#ffffff"></path></svg>';
var upicon = '<svg t="1625908507248" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4276" width="20" height="20"><path d="M76.8 713.3c0-4.1 1.6-8.2 4.7-11.3l390.9-390.9c21.8-21.8 57.4-21.8 79.2 0L942.5 702c6.2 6.2 6.2 16.4 0 22.6-6.2 6.2-16.4 6.2-22.6 0L529 333.7c-9.4-9.4-24.6-9.4-33.9 0l-391 390.9c-6.2 6.2-16.4 6.2-22.6 0-3.1-3.1-4.7-7.2-4.7-11.3z" p-id="4277" fill="#ffffff"></path></svg>';

$(".menu .ul-list > li > a").click(function(){
	if(active!=null)
		active.removeClass("active");
	$(this).addClass("active");
	active=$(this);
});


$(".menu .ul-list > li >.ol-list").parent().hover(function(){	
	$(".menu .ul-list > li >.ol-list").parent().find("i").html(upicon);
},function(){
	$(".menu .ul-list > li >.ol-list").parent().find("i").html(downicon);
})



$(document).ready(function(){
	$("#indexWindow").click(function(){
		$("#mainIframe").attr("src","bustoMainContent.do");
	});



	$("#signWindow").click(function(){
		$("#mainIframe").attr("src","bustoSignin.do");
	});
});

